package view.dialogs;

import javax.swing.JPanel;

import view.listeners.MultiInfoListener;
import view.views.dialogButtonViews.OkButtonPanel;
import view.views.dialogContentViews.MultiInfoAddPanel;

public class MultiInfoDialog extends Dialog {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public MultiInfoDialog(String title) {
		super(title);

	}

	@Override
	protected JPanel addContent() {

		return new MultiInfoAddPanel();
	}

	@Override
	protected JPanel addButtons() {
		OkButtonPanel buttonPanel = new OkButtonPanel();
		buttonPanel.getOkButton()
				.addActionListener(new MultiInfoListener(this));
		return buttonPanel;
	}

}
